﻿class Program
{
	static void Main()
	{
		//Section 1
		int a = 7;
		int b = 4;
		int c = 3;
		int d = (a + b) / c;
		int e = (a + b) % c;
		Console.WriteLine($"quotient: {d}");
		Console.WriteLine($"reminder: {e}");

		// Section 2
		int max = int.MaxValue;
		int min = int.MinValue;
		Console.WriteLine($"The range of integers is {min} to {max}");
		int what = max + 3;
		Console.WriteLine($"An example to the overflow: {what}");

		// Section 3
		double a_2 = 5;
		double b_2 = 4;
		double c_2 = 2;
		double d_2 = (a_2 + b_2) / c_2;
		Console.WriteLine(d_2);

		// Section 4
		double double_max = double.MaxValue;
		double double_min = double.MinValue;
		Console.WriteLine($"The range of double is {double_min} to {double_max}.");

		// Section 5
		double third = 1.0 / 3.0;
		Console.WriteLine(third);

		// Section 6
		decimal decimal_min = decimal.MinValue;
		decimal decimal_max = decimal.MaxValue;
		Console.WriteLine($"The range of decimal type is {decimal_min} to {decimal_max}.");
	}
}